﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.Web.ASPxGridView;
using DevExpress.Web.ASPxEditors;

public partial class LibrarayModules_ucListReader : System.Web.UI.UserControl
{
 

    protected void Page_Load(object sender, EventArgs e)
    {
        
            Init();
    }
    public void Init()
    {
        var reader = DataConnection.LibDB.LIB_READER_GetAll();
        //xgvListReader.DataSource = reader.ToList();
        //xgvListReader.DataBind();
        grid.DataSource = reader.ToList();
        grid.DataBind();
       
    }
   
    protected void xgvListReader_DataBound(object sender, EventArgs e)
    {

    }
    protected void xgvListReader_PageIndexChanged(object sender, EventArgs e)
    {

    }
    protected void xgvListReader_StartRowEditing(object sender, DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
    {
        	
    }
    protected void xgvListReader_DataBinding(object sender, EventArgs e)
    {

    }
   
    protected void xgvListReader_CustomJSProperties(object sender, ASPxGridViewClientJSPropertiesEventArgs e)
    {
        
    }
    protected void SelectAllMode_SelectedIndexChanged(object sender, EventArgs e)
    {
        
    }
    protected void lblUpdate_Click(object sender, EventArgs e)
    {

    }
    protected void lblBack_Click(object sender, EventArgs e)
    {

    }
}